<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>管理印章</title>
    <link rel="stylesheet" href="/asset/layui/css/layui.css">
    <link rel="stylesheet" href="/asset/css/index.css">
    <script src="/asset/layui/layui.js"></script>
    <link rel="Shortcut Icon" href="cachet.ico">
</head>
<body >
<div class="x-body">

	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">所属印章</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.seal.sealName}
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">设备标识</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.alias}
	      </div>
	    </div>
	</div>
	
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">设备编号</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.devicesCode}
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">设备状态</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.devicesStatus}
	      </div>
	    </div>
	</div>
	
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">固件版本</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.devicesVerson}
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">设备型号</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.model}
	      </div>
	    </div>
	</div>
	
	
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">出厂日期</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	<#if devices.installTime??>
	      	${devices.installTime?string('yyyy-MM-dd HH:mm:ss')}
	      	</#if>
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">失效日期</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	<#if devices.expireDate??>
	      	${devices.expireDate?string('yyyy-MM-dd HH:mm:ss')}
	      	</#if>
	      </div>
	    </div>
	</div>
	
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">安装凭证</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      图片，图片
	      </div>
	    </div>
	</div>
	
	
	<#if devices.takeStatus !='NORMAL'>
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">借出状态</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	已借出
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">借出人</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	张三
	      </div>
	    </div>
	</div>
	</#if>
	
  </div>
</div>

</body>
</html>